package com.wxzz.elearing.course.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.wxzz.elearning.common.bean.BigDecimalSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class UpdatePlatformStatusDto {

    @NotNull(message = "请传入课程id")
    @ApiModelProperty(value = "课程id")
    private Long curriculumId;

    @JsonSerialize(using = BigDecimalSerialize.class)
    @ApiModelProperty(value = "课程现价(企业)")
    private BigDecimal curriculumPriceEnterprise;

    @JsonSerialize(using = BigDecimalSerialize.class)
    @ApiModelProperty(value = "课程原价(企业)")
    private BigDecimal curriculumOldPriceEnterprise;

    @JsonSerialize(using = BigDecimalSerialize.class)
    @ApiModelProperty(value = "课程现价(用户)")
    private BigDecimal curriculumPrice;

    @JsonSerialize(using = BigDecimalSerialize.class)
    @ApiModelProperty(value = "课程原价(用户)")
    private BigDecimal curriculumOldPrice;

    @ApiModelProperty(value = "备注")
    private String remark;

}
